increase go test timeout for slow ppc64el
authorLaszlo Boszormenyi (GCS) <gcs@debian.org>
Tue, 2 Dec 2025 18:03:25 +0000 (19:03 +0100)
committerLaszlo Boszormenyi (GCS) <gcs@debian.org>
Tue, 2 Dec 2025 18:03:25 +0000 (19:03 +0100)
Bug-Debian: https://bugs.debian.org/1087611
Forwarded: no
Last-Update: 2025-01-22

Multiply TestNoHangDuringStopFromClientNoDataSendDuringAcceptLoop timeout by
the magnitude of 100x.

Gbp-Pq: Name go_testing_timeout.patch

lib/go/thrift/simple_server_test.go

index 0fcb01bd8b88a1ac2c459692be15d118d222db80..3eb9849566780ef737991c278c6e1748429b91a3 100644 (file)
@@ -205,7 +205,7 @@ func TestNoHangDuringStopFromClientNoDataSendDuringAcceptLoop(t *testing.T) {
        }
        time.Sleep(networkWaitDuration)
 
-       const serverStopTimeout = 50 * time.Millisecond
+       const serverStopTimeout = 5000 * time.Millisecond
        backupServerStopTimeout := ServerStopTimeout
        t.Cleanup(func() {
                ServerStopTimeout = backupServerStopTimeout